package com.iwords.service;
import java.util.List;

import javax.ejb.Remote;

import com.iwords.service.object.ExamSentencesEntity;

/**
 * @author       BOLIN.HBC 
 * @time         2011-5-7    
 * @description  Sentences-SERVICE       
 */
@Remote
public interface SentencesService {
	
	/**
	 * 获取热门匹配句子
	 * 
	 * @param  wordid
	 *         单词ID
	 * @return List<ExamSentencesEntity>
	 *         句子结果集 List<<code>ExamSentencesEntity</code>>
	 */
	public List<ExamSentencesEntity> getHotSentences(Long wordid);
	
	/**
	 * 获取所有关联的句子
	 * 
	 * @param  wordid
	 *         单词ID
	 * @return List<ExamSentencesEntity>
	 *         句子结果集 List<<code>ExamSentencesEntity</code>>
	 */
	public List<ExamSentencesEntity> getAllSentences(Long wordid);

}
